@import url('./variable.less');

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

button, input, optgroup, select, textarea {
  outline: 0;
  border: none;
  font-size: inherit;
  font-family: inherit;
}

em, i {
  font-style: normal;
}

ul {
  list-style: none;
}

div:focus, li:focus, span:focus {
  outline: none;
}

a, a:link, a:visited, a:active, a:hover {
  text-decoration: none;
  color: inherit;
  outline: none;
}

html, body, #app {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

html {
  font-size: 16px;
  color: @black;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
  background-color: @bg2;
}

.w-40 {
  width: 40%;
}

.w-50 {
  width: 50%;
}

.w-20 {
  width: 20%;
}

.w-33 {
  width: 33%;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.color-white {
  color: @white;
}

.color-gray {
  color: @gray;
}

.color-black {
  color: @black;
}

.color-active2 {
  color: @active2;
}

.bg-white {
  background-color: @white;
}

.bg-1 {
  background-color: @bg1;
}

.bg-2 {
  background-color: @bg2;
}

.bg-3 {
  background-color: @bg3;
}

.bg-4 {
  background-color: @bg4;
}

.bg-5 {
  background-color: @bg5;
}

.m-6 {
  margin: 4rem;
}

.mx-6 {
  margin-left: 4rem;
  margin-right: 4rem;
}

.my-6 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.mt-6 {
  margin-top: 4rem;
}

.mb-6 {
  margin-bottom: 4rem;
}

.ml-6 {
  margin-left: 4rem;
}

.mr-6 {
  margin-right: 4rem;
}

.m-5-5 {
  margin: 3rem;
}

.mx-5-5 {
  margin-left: 3rem;
  margin-right: 3rem;
}

.my-5-5 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.mt-5-5 {
  margin-top: 3rem;
}

.mb-5-5 {
  margin-bottom: 3rem;
}

.ml-5-5 {
  margin-left: 3rem;
}

.mr-5-5 {
  margin-right: 3rem;
}

.m-5 {
  margin: 2rem;
}

.mx-5 {
  margin-left: 2rem;
  margin-right: 2rem;
}

.my-5 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.mt-5 {
  margin-top: 2rem;
}

.mb-5 {
  margin-bottom: 2rem;
}

.ml-5 {
  margin-left: 2rem;
}

.mr-5 {
  margin-right: 2rem;
}

.ml-4-5 {
  margin-left: 1.75rem;
}

.mr-4-5 {
  margin-right: 1.75rem;
}

.mt-4-5 {
  margin-top: 1.75rem;
}

.mb-4-5 {
  margin-bottom: 1.75rem;
}

.mx-4-5 {
  margin-left: 1.75rem;
  margin-right: 1.75rem;
}

.my-4-5 {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

.m-4 {
  margin: 1.5rem;
}

.mx-4 {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.my-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.ml-4 {
  margin-left: 1.5rem;
}

.mr-4 {
  margin-right: 1.5rem;
}

.m-3 {
  margin: 1rem;
}

.mx-3 {
  margin-left: 1rem;
  margin-right: 1rem;
}

.my-3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.ml-3 {
  margin-left: 1rem;
}

.mr-3 {
  margin-right: 1rem;
}

.m-2-5 {
  margin: 0.75rem;
}

.mx-2-5 {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}

.my-2-5 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.mt-2-5 {
  margin-top: 0.75rem;
}

.mb-2-5 {
  margin-bottom: 0.75rem;
}

.ml-2-5 {
  margin-left: 0.75rem;
}

.mr-2-5 {
  margin-right: 0.75rem;
}

.m-2 {
  margin: 0.5rem;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.m-1-5 {
  margin: 0.4rem;
}

.mx-1-5 {
  margin-left: 0.4rem;
  margin-right: 0.4rem;
}

.my-1-5 {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.mt-1-5 {
  margin-top: 0.4rem;
}

.mb-1-5 {
  margin-bottom: 0.4rem;
}

.ml-1-5 {
  margin-left: 0.4rem;
}

.mr-1-5 {
  margin-right: 0.4rem;
}

.m-1 {
  margin: 0.3rem;
}

.mx-1 {
  margin-left: 0.3rem;
  margin-right: 0.3rem;
}

.my-1 {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.mt-1 {
  margin-top: 0.3rem;
}

.mb-1 {
  margin-bottom: 0.3rem;
}

.ml-1 {
  margin-left: 0.3rem;
}

.mr-1 {
  margin-right: 0.3rem;
}

.m-0-5 {
  margin: 0.15rem;
}

.mx-0-5 {
  margin-left: 0.15rem;
  margin-right: 0.15rem;
}

.my-0-5 {
  margin-top: 0.15rem;
  margin-bottom: 0.15rem;
}

.mt-0-5 {
  margin-top: 0.15rem;
}

.mb-0-5 {
  margin-bottom: 0.15rem;
}

.ml-0-5 {
  margin-left: 0.15rem;
}

.mr-0-5 {
  margin-right: 0.15rem;
}

.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.ml-0 {
  margin-left: 0;
}

.mr-0 {
  margin-right: 0;
}

.mt-n4 {
  margin-top: -1rem;
}

.p-6 {
  padding: 4rem;
}

.px-6 {
  padding-left: 4rem;
  padding-right: 4rem;
}

.py-6 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.pt-6 {
  padding-top: 4rem;
}

.pb-6 {
  padding-bottom: 4rem;
}

.pl-6 {
  padding-left: 4rem;
}

.pr-6 {
  padding-right: 4rem;
}

.p-5-5 {
  padding: 3rem;
}

.px-5-5 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.py-5-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.pt-5-5 {
  padding-top: 3rem;
}

.pb-5-5 {
  padding-bottom: 3rem;
}

.pl-5-5 {
  padding-left: 3rem;
}

.pr-5-5 {
  padding-right: 3rem;
}

.p-5 {
  padding: 2rem;
}

.px-5 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-5 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pt-5 {
  padding-top: 2rem;
}

.pb-5 {
  padding-bottom: 2rem;
}

.pl-5 {
  padding-left: 2rem;
}

.pr-5 {
  padding-right: 2rem;
}

.p-4-5 {
  padding: 1.8rem;
}

.px-4-5 {
  padding-left: 1.8rem;
  padding-right: 1.8rem;
}

.py-4-5 {
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

.pt-4-5 {
  padding-top: 1.8rem;
}

.pb-4-5 {
  padding-bottom: 1.8rem;
}

.pl-4-5 {
  padding-left: 1.8rem;
}

.pr-4-5 {
  padding-right: 1.8rem;
}

.p-4 {
  padding: 1.5rem;
}

.px-4 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.pt-4 {
  padding-top: 1.5rem;
}

.pb-4 {
  padding-bottom: 1.5rem;
}

.pl-4 {
  padding-left: 1.5rem;
}

.pr-4 {
  padding-right: 1.5rem;
}

.p-3-5 {
  padding: 1.3rem;
}

.px-3-5 {
  padding-left: 1.3rem;
  padding-right: 1.3rem;
}

.py-3-5 {
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
}

.pt-3-5 {
  padding-top: 1.3rem;
}

.pb-3-5 {
  padding-bottom: 1.3rem;
}

.pl-3-5 {
  padding-left: 1.3rem;
}

.pr-3-5 {
  padding-right: 1.3rem;
}

.p-3 {
  padding: 1rem;
}

.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pt-3 {
  padding-top: 1rem;
}

.pb-3 {
  padding-bottom: 1rem;
}

.pl-3 {
  padding-left: 1rem;
}

.pr-3 {
  padding-right: 1rem;
}

.p-2-5 {
  padding: 0.75rem;
}

.px-2-5 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.py-2-5 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.pt-2-5 {
  padding-top: 0.75rem;
}

.pb-2-5 {
  padding-bottom: 0.75rem;
}

.pl-2-5 {
  padding-left: 0.75rem;
}

.pr-2-5 {
  padding-right: 0.75rem;
}

.p-2 {
  padding: 0.5rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pl-2 {
  padding-left: 0.5rem;
}

.pr-2 {
  padding-right: 0.5rem;
}

.p-1-5 {
  padding: 0.4rem;
}

.px-1-5 {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

.py-1-5 {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.pt-1-5 {
  padding-top: 0.4rem;
}

.pb-1-5 {
  padding-bottom: 0.4rem;
}

.pl-1-5 {
  padding-left: 0.4rem;
}

.pr-1-5 {
  padding-right: 0.4rem;
}

.p-1 {
  padding: 0.3rem;
}

.px-1 {
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}

.py-1 {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.pt-1 {
  padding-top: 0.3rem;
}

.pb-1 {
  padding-bottom: 0.3rem;
}

.pl-1 {
  padding-left: 0.3rem;
}

.pr-1 {
  padding-right: 0.3rem;
}

.p-0-5 {
  padding: 0.15rem;
}

.py-0-5 {
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.pt-0-5 {
  padding-top: 0.15rem;
}

.pb-0-5 {
  padding-bottom: 0.15rem;
}

.px-0-5 {
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}

.pl-0-5 {
  padding-left: 0.15rem;
}

.pr-0-5 {
  padding-right: 0.15rem;
}

.p-0 {
  padding: 0;
}

.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.px-0 {
  padding-left: 0;
  padding-right: 0;
}

.pl-0 {
  padding-left: 0;
}

.pr-0 {
  padding-right: 0;
}

.overflow-auto {
  overflow: auto;
}

.overflow-visible {
  overflow: visible;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-initial {
  overflow: initial;
}

.d-inline-flex {
  display: inline-flex;
}

.d-inline-block {
  display: inline-block;
}

.d-flex {
  display: flex;
}

.d-none {
  display: none;
}

.flex-column {
  .d-flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.justify-content-start {
  justify-content: flex-start;
}

.justify-content-end {
  justify-content: flex-end;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-around {
  justify-content: space-around;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-end {
  align-items: flex-end;
}

.align-items-center {
  align-items: center;
}

.flex-item {
  .d-flex;
  .flex-label {
    flex: 0 0 auto;
  }
  .flex-content {
    flex: 1 1 auto;
  }
}

.flex-vertical {
  .flex-column;
  .flex-header, .flex-footer {
    flex: 0 0 auto;
  }
  .flex-content {
    flex: 1;
    .slim-scroll;
    &.no-scroll {
      .no-scroll;
    }
    &:not(.no-overflow) {
      .overflow-auto;
      &.overflow-hidden {
        .overflow-hidden;
      }
    }
  }
}

.flex-center-center {
  .d-flex;
  .align-items-center;
  .justify-content-center;
}

.text-in {
  font-size: 2.25rem;
}

.text-max {
  font-size: 2rem; // 32
}

.text-more {
  font-size: 1.875rem; // 30
}

.text-lg {
  font-size: 1.625rem; // 26 
}

.text-plus {
  font-size: 1.5rem; // 24
}

.text-md {
  font-size: 1.375rem; // 22 
}

.text-main {
  font-size: 1.25rem; // 20
}

.text-title {
  font-size: 1.125rem; // 18
}

.text-sub {
  font-size: 1rem; // 16
}

.text-item {
  font-size: 0.9375rem; // 15
}

.text-alert {
  font-size: 0.875rem; // 14
}

.text-mini {
  font-size: 0.8125rem; // 13
}

.text-min {
  font-size: 0.75rem; // 12
}

.text-zero {
  font-size: 0; // 0
}

.text-left {
  text-align: left;
}

.text-normal {
  font-weight: normal;
}

.text-bold {
  font-weight: bold;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.writing-lr {
  writing-mode: vertical-lr;
}

.ellipsis-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.round-circle {
  border-radius: 50%;
}

.round-lg {
  border-radius: 1rem;
}

.round-md {
  border-radius: 0.8rem;
}

.round-sm {
  border-radius: 0.5rem;
}

.round-mini {
  border-radius: 0.2rem;
}

.cursor-pointer {
  cursor: pointer;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

.top-0 {
  top: 0;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.slim-scroll {
  &::-webkit-scrollbar-track-piece {
    background-color: @white;
  }

  &::-webkit-scrollbar {
    width: 0.4rem;
    height: 0.4rem;
  }

  &::-webkit-scrollbar-thumb {
    background-color: @white;
    background-clip: padding-box;
    border-radius: 2rem;
  }
}

.no-scroll {
  &::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}